package com.baosight.risk.service.jlta.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * Table: T_JLTA_RESOURCE
 */
@Data
@Table(name = "T_JLTA_RESOURCE")
public class JltaResource implements Serializable {
    /**
     * 主键
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    ID
     * Nullable:  false
     */
    @Id
    @Column(name = "ID")
    private String id;

    /**
     * 资源编码
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    RESOURCE_CODE
     * Nullable:  true
     */
    @Column(name = "RESOURCE_CODE")
    private String resourceCode;

    /**
     * 资源名称
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    RESOURCE_NAME
     * Nullable:  true
     */
    @Column(name = "RESOURCE_NAME")
    private String resourceName;

    /**
     * 资源路径
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    RESOURCE_PATH
     * Nullable:  true
     */
    @Column(name = "RESOURCE_PATH")
    private String resourcePath;

    /**
     * 资源大小
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    RESOURCE_SIZE
     * Nullable:  true
     */
    @Column(name = "RESOURCE_SIZE")
    private String resourceSize;

    /**
     * 资源类型
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    RESOURCE_TYPE
     * Nullable:  true
     */
    @Column(name = "RESOURCE_TYPE")
    private String resourceType;

    /**
     * 资源描述
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    RESOURCE_DESC
     * Nullable:  true
     */
    @Column(name = "RESOURCE_DESC")
    private String resourceDesc;

    /**
     * 文件id
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    FILE_ID
     * Nullable:  true
     */
    @Column(name = "FILE_ID")
    private String fileId;

    /**
     * 创建人id
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    CREATER_ID
     * Nullable:  true
     */
    @Column(name = "CREATER_ID")
    private String createrId;

    /**
     * 创建人姓名
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    CREATER_NAME
     * Nullable:  true
     */
    @Column(name = "CREATER_NAME")
    private String createrName;

    /**
     * 组织id
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    COMP_ID
     * Nullable:  false
     */
    @Column(name = "COMP_ID")
    private String compId;

    /**
     * 组织编码
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    COMP_CODE
     * Nullable:  true
     */
    @Column(name = "COMP_CODE")
    private String compCode;

    /**
     * 组织名称
     * Table:     T_JLTA_RESOURCE
     * Column:    COMP_NAME
     * Nullable:  true
     */
    @Column(name = "COMP_NAME")
    private String compName;

    /**
     * 团队ID
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    TEAM_ID
     * Nullable:  false
     */
    @Column(name = "TEAM_ID")
    private String teamId;

    /**
     * 团队名称
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    TEAM_NAME
     * Nullable:  true
     */
    @Column(name = "TEAM_NAME")
    private String teamName;

    /**
     * 状态(0草稿1发布2禁用)
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    STATUS
     * Nullable:  true
     */
    @Column(name = "STATUS")
    private String status;

    /**
     * 父节点Id
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    PARENT_ID
     * Nullable:  true
     */
    @Column(name = "PARENT_ID")
    private String parentId;

    /**
     * 创建人
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    CREATE_BY
     * Nullable:  true
     */
    @Column(name = "CREATE_BY")
    private String createBy;

    /**
     * 创建日期
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    CREATE_TIME
     * Nullable:  true
     */
    @Column(name = "CREATE_TIME")
    private Date createTime;

    /**
     * 修改人
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    UPDATE_BY
     * Nullable:  true
     */
    @Column(name = "UPDATE_BY")
    private String updateBy;

    /**
     * 修改日期
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    UPDATE_TIME
     * Nullable:  true
     */
    @Column(name = "UPDATE_TIME")
    private Date updateTime;

    /**
     * 扩展属性1
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    EXT1
     * Nullable:  true
     */
    @Column(name = "EXT1")
    private String ext1;

    /**
     * 扩展属性2
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    EXT2
     * Nullable:  true
     */
    @Column(name = "EXT2")
    private String ext2;

    /**
     * 扩展属性3
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    EXT3
     * Nullable:  true
     */
    @Column(name = "EXT3")
    private String ext3;

    /**
     * 扩展属性4
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    EXT4
     * Nullable:  true
     */
    @Column(name = "EXT4")
    private String ext4;

    /**
     * 扩展属性5
     * <p>
     * Table:     T_JLTA_RESOURCE
     * Column:    EXT5
     * Nullable:  true
     */
    @Column(name = "EXT5")
    private String ext5;

    private static final long serialVersionUID = 1L;
}